#if !defined(KEYBDEVENT2_H_INCLUDED)
#define KEYBDEVENT2_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CKeybdEvent2
{
public:
	static void SingleStroke(HWND hWnd, WORD wVk, WORD wScan = 0);
	static void Combine2Strokes(HWND hWnd, WORD wVk1,WORD wVk2, WORD wScan1 = 0, WORD wScan2 = 0);
	static void Combine3Strokes(HWND hWnd, WORD wVk1, WORD wVk2, WORD wVk3, WORD wScan1 = 0, WORD wScan2 = 0, WORD wScan3 = 0);
	static SHORT VkKeyScan(TCHAR ch);

public:

	CKeybdEvent2(HWND hWnd, WORD wVk, WORD wScan = 0);
	~CKeybdEvent2();

private:
	HWND m_hWnd;
	WORD m_wVk;
	WORD m_wScan;
};

#endif	// #if !defined(KEYBDEVENT2_H_INCLUDED)